package com.basic.modules.ykf.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.basic.common.annotation.DictParam;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 部门管理
 *
 * @author maoheng
 * @email 15738859597@163.com
 * @date 2024-09-08 16:23:03
 */
@Data
@TableName("ykf_company_dept")
public class YkfCompanyDeptEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Long deptId;
	/**
	 * 部门名称
	 */
	private String deptName;
	/**
	 * 公司编号
	 */
	private String companyNo;
	/**
	 * 公司名称
	 */
	@DictParam(field = "companyNo", targetField = "companyName", dictType = "company")
	private String companyName;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建者ID
	 */
	@TableField(fill = FieldFill.INSERT)
	private Long createUserId;
	/**
	 * 创建人
	 */
	@DictParam(field = "createUserId", targetField = "createUserName", dictType = "flowerName")
	@TableField(fill = FieldFill.INSERT)
	private String createUserName;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

}
